$(document).ajaxSend(function (e, xhr, opt){
    var token = localStorage.getItem("user_token");
    xhr.setRequestHeader("user_token_header", token);
});

function logout(){
    //删除token
    localStorage.removeItem("user_token");
    console.log("用户注销");
    location.href = "blog_login.html";
}